package com.bdzl.auth.service;

import com.bdzl.pub.entity.sys.MobileCodeDO;
import com.bdzl.pub.entity.sys.UserDO;
import com.bdzl.pub.util.param.R;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public interface LoginService {

    R userInfo(UserDO sysUser, R r);

    R login(UserDO user);

    R logout(HttpServletRequest request, HttpServletResponse response);

    MobileCodeDO getMobileCodeDO(MobileCodeDO mobileCodeDO, String username, String id, String phone,Integer time);
}
